Data Grid

Change MouseOver Cursor from Arrow to Hand

Code Customization
Change MouseOver Cursor from Arrow to Hand (Not Applicable To Mobile and Gallery Page)
Description:

This customization changes the cursor appearance when moving over cells in an ASP DataGrid. In this example, you will add the DataGrid to the bottom of a table control.

This customization will be added in:

..\<Application Name>\<Table Name>\Show<Table Name>Table.aspx.cs

For example: C:\MyApp1\Customers\ShowCustomersTable.aspx.cs

Procedure:

Step 1:  In Iron Speed Designer, switch to Layout Editor then select a table control.

Step 2:  Highlight any desired empty cell at the bottom of the table control.

Step 3:  Add the following HTML code to the cell using Cell Editor.

<tr>
     <asp:datagrid id="myDataGrid" OnItemDataBound= "MyItemDataBound" runat="server">
         <HeaderStyle BackColor = "#336699" ForeColor = "#ffffff" Font-Bold = "true" />
         <AlternatingItemStyle BackColor = "#eeeeee" />
     </asp:datagrid>
</tr>
    

Step 4:  Use this wizard to add code customization.

Step 5:  Build and run the application.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement